package icu.lookyousmileface.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @author starrysky
 * @title: RestConfig
 * @projectName springcloud
 * @description: config layer
 * @date 2021/2/1213:08
 */
@Configuration
public class RestConfig {

    @Bean
    public RestTemplate restTemplate(){
        return new RestTemplate();
    }
}
